import { createApp } from 'vue'
import App from './App.vue'
import router from './router';
import { createPinia } from 'pinia';
import store from './store';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate); // 注册插件
createApp(App).use(router).use(createPinia()).use(store).use(ElementPlus).mount('#app');
